#!/bin/bash

CLASSPATH=bin:lib/easyaccept.jar:lib/easymock.jar:lib/FengGUI.jar:lib/jinput.jar:lib/jme-awt.jar:lib/jme-collada.jar:lib/jme-editors.jar:lib/jme-effects.jar:lib/jme-font.jar:lib/jme-gamestates.jar:lib/jme-model.jar:lib/jme-scene.jar:lib/jme-sound.jar:lib/jme-terrain.jar:lib/jme.jar:lib/junit.jar:lib/lwjgl.jar:lib/lwjgl_test.jar:lib/lwjgl_util.jar:lib/lwjgl_util_applet.jar:lib/swing-layout-1.0.jar

echo Running menu demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.menu.MenuTest
echo Running model loader demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.model.ModelLoader
echo Running release demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.part.PartTest
echo Running map demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.map.MapDemo
echo Running map editor...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.map.editor.EditorFrame
echo Running Camera map demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.camera.CameraDemo
echo Running game states demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.gamestate.TestGameStates
echo Running Selection field demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.map.SelectionTilesDemo
echo Running Release demo...
java -Djava.library.path=lib/native -cp $CLASSPATH org.gpp.proj1.demo.release.Release
echo "Done! I hope you enjoyed the view :-)"
